const crypto = require('crypto')
const CONSTANT = require('../constant/')
module.exprts = str => {
  return crypto.createHash('md5')
    .update(CONSTANT.MD5_SALT + str)
    .digest('hex')
}